import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/my_relese_entity.g.dart';

@JsonSerializable()
class MyReleseEntity {

	MyReleseEntity();

	factory MyReleseEntity.fromJson(Map<String, dynamic> json) => $MyReleseEntityFromJson(json);

	Map<String, dynamic> toJson() => $MyReleseEntityToJson(this);

	String? msg;
	int? code;
	MyReleseData? data;
}

@JsonSerializable()
class MyReleseData {

	MyReleseData();

	factory MyReleseData.fromJson(Map<String, dynamic> json) => $MyReleseDataFromJson(json);

	Map<String, dynamic> toJson() => $MyReleseDataToJson(this);

	int? totalCount;
	int? pageSize;
	int? totalPage;
	int? currPage;
	@JSONField(name: "list")
	List<MyReleseDataList>? xList;
}

@JsonSerializable()
class MyReleseDataList {

	MyReleseDataList();

	factory MyReleseDataList.fromJson(Map<String, dynamic> json) => $MyReleseDataListFromJson(json);

	Map<String, dynamic> toJson() => $MyReleseDataListToJson(this);

	String? userPic;
	int? postId;
	dynamic? postTitle;
	dynamic? postContent;
	int? seeType;
	dynamic? postTypeName;
	dynamic? postType;
	String? releaseTime;
	int? userId;
	String? nikeName;
	List<String>? postUrls;
	List<dynamic>? comments;
	int? praiseCount;
	bool? isAttention;
	bool? isPraise;
	dynamic? shopStatus;
	int? postStatus;
}
